<?php global $smof_data, $us_thumbnail_size;
if (have_posts()) : ?>
	<div class="w-blog imgpos_attop meta_all">
		<div class="w-blog-h">
			<div class="w-blog-list">
				<?php
				while (have_posts())
				{
					the_post();
					$us_thumbnail_size = 'blog-large';
					get_template_part('templates/blog_single_post');
				}
				?>
			</div>
		</div>
	</div>

	<?php if (function_exists('us_pagination') AND $pagination = us_pagination()) { ?>
		<div class="w-blog-pagination">
			<div class="g-pagination">
			<?php echo $pagination ?>
			</div>
		</div>
	<?php } else  { ?>
		<div class="w-blog-pagination">
			<div class="g-pagination">
			<?php posts_nav_link(' ', '<span class="g-pagination-item to_prev">&laquo; Prev</span>',  '<span class="g-pagination-item to_next">Next &raquo;</span>'); ?>
			</div>
		</div>
	<?php } ?>
<?php else : ?>
	<?php _e('No posts were found.', 'us'); ?>
<?php endif; ?>